package com.jiang.jetpackdemo.model

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 *
 * @ProjectName:    JetpackDemo
 * @ClassName:      NewsInfo
 * @Description:     java类作用描述
 * @Author:         江
 * @CreateDate:     2020/4/6 15:22
 */
@Entity(tableName = "news")
data class NewsInfo(
    @PrimaryKey var id: Long,
    val title: String,
    val contentUrl: String,
    val des: String,
    val imgUrl: String
)